package top.mataiji.manager.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.mataiji.manager.pojo.SlideShow;
import top.mataiji.manager.pojo.SlideShowExample;

@Mapper
public interface SlideShowMapper {
    long countByExample(SlideShowExample example);

    int deleteByExample(SlideShowExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(SlideShow record);

    int insertSelective(SlideShow record);

    List<SlideShow> selectByExample(SlideShowExample example);

    SlideShow selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") SlideShow record, @Param("example") SlideShowExample example);

    int updateByExample(@Param("record") SlideShow record, @Param("example") SlideShowExample example);

    int updateByPrimaryKeySelective(SlideShow record);

    int updateByPrimaryKey(SlideShow record);
}
